<?php
namespace app\api\controller;

use app\common\command\OverdueOrder;
use app\common\service\PlanService;
use think\admin\Controller;

class Dong extends Controller
{

    public function cs()
    {
        $res = PlanService::overdue();
    }

    public function makeJob()
    {
        $this->_queue('计算逾期金额', 'xcommon:OverdueOrder', $later = 0, $data = [], $rscript = 0, $loops = 86400);
    }
}